package cn.hongwei.eduservice.entity.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CourseApiQuery {
    @ApiModelProperty(value = "课程专业父级id")
    private String subjectParentId;//一级
    @ApiModelProperty(value = "课程专业id")
    private String subjectId;//二级
    @ApiModelProperty(value = "排序列： 1、销量排序 buy_count  2、发布时间排序 publish_time  3、价格排序 price  ")
    private String orderByColumn = "buy_count";
    @ApiModelProperty(value = "排序方式：1、0 升序排列   2、1 降序排列  ")
    private Integer type = 1;
}
